exports.changeRecordIndex = function (req, res) {

  db.where({"ir_mid":req.query.mid}).order("ir_create_time desc").select("dkp_integral_record",function(rs){
        
    if(rs == 'ERROR'){
        console.log("数据查询失败");  
    }

    console.log(rs);

    Render.viewRender(req,res,'changeRecordIndex',{title:"变动记录",changeData:rs,memberName:req.query.name})


  })

  

}